home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 009 / unprot.arc / ALTER.DOC < prev    next >
Text File  |  1986-03-27  |  4KB  |  101 lines

  1. Note that this documentation is for ALTER.COM - not for ALTER.EXE on
  2. this same disk.   Public Brand Software
  3.  
  4. -----------------------------------------------------------------------
  5.                                                    ALTER
  6.                                                    Command
  7.  
  8.  
  9.  
  10.     Purpose:    This command allows the user to change
  11.                 file attributes.
  12.  
  13.     Format:     ALTER [d:][path]filename[/V][/N|/R/H/S/A|/B]
  14.  
  15.     Type:       Internal        External
  16.                                   ***
  17.  
  18.     Remarks:    This command can be used to mark files as
  19.                 hidden, readonly, system or normal and to set
  20.                 or reset the archive bit. It is also possible
  21.                 to make subdirectory entries hidden. Hidden
  22.                 files/directories will not be displayed by
  23.                 the TREE or DIR commands. The XDIR command
  24.                 will display all files regardless of the files
  25.                 attributes; however, it will not display hidden
  26.                 directories.
  27.  
  28.     Example:    ALTER c:\top\urgent.dat/v/r/h
  29.  
  30.                 This command line displays the current version
  31.                 number and alters file C:\TOP\URGENT.DAT to be
  32.                 READ_ONLY and HIDDEN. Read only files cannot be
  33.                 changed or deleted.
  34.  
  35.                 ALTER \top\secret/h
  36.  
  37.                 This command line alters the directory
  38.                 \top\secret as a HIDDEN directory. This
  39.                 directory can only be accessed by those who
  40.                 know the path.
  41.  
  42.                 ALTER \top\secret\letter.007/v
  43.  
  44.                 This command line displays the current
  45.                 attribute settings for the file and prompts
  46.                 the user for new attributes for the file.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.                                     10-26a
  53.                                                   ALTER
  54.                                                    Command
  55.  
  56.             A sample display for this interactive mde
  57.             is shown:
  58.  
  59.             C>ALTER \top\secret
  60.  
  61.             ALTER Version X.XX (C)Copyright T A Davis, 1983
  62.  
  63.             Attributes are (DRHB) for file \TOP\SECRET
  64.  
  65.             Enter new attributes (RHSNBA) or ENTER ? NA_
  66.  
  67.             Attributes are (DA) for file \TOP\SECRET
  68.  
  69.             The identifiers used to display the files
  70.             attributes  are listed below:
  71.  
  72.                         R - READ_ONLY
  73.                         H - HIDDEN
  74.                         S - SYSTEM
  75.                         A - ARCHIVE SET
  76.                         D - SUB_DIRECTORY
  77.                         B - ARCHIVE NOT SET
  78.  
  79.             You may specify N for NORMAL as a parameter
  80.             or as a response to the prompt. This identifier
  81.             is not listed as an attribute for the file,
  82.             but is offered as an easy means to remove all
  83.             attributes.
  84.  
  85.             Consult your DOS 2.00 manual, page C-4 for more
  86.             information on file attributes.
  87.  
  88.             NOTES:
  89.  
  90.                 The attributes of a BASE directory cannot
  91.                 be altered. You MUST specify at least 4
  92.                 characters for the path\filename.
  93.  
  94.                 There is no way to display hidden
  95.                 sub-directories. Care should be taken to ensure
  96.                 that any directory once hidden, can be found.
  97.  
  98.  
  99.  
  100.                                                     10-26b
  101.